package vip.xiaonuo.modular.manage.theme.param;

import lombok.Data;
import vip.xiaonuo.core.pojo.base.param.BaseParam;

import javax.validation.constraints.NotNull;

/**
 * @Description
 * @Author cy
 * @Date 2022/8/1 19:17
 * @Version 1.0
 */
@Data
public class ThemeIndexParam extends BaseParam {

    /**
     * 自增主键
     */
    @NotNull(message = "自增主键不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    private Long id;

    /**
     * 主题名称
     */
    @NotNull(message = "主题id不能为空，请检查themeId参数", groups = {add.class, edit.class})
    private Long themeId;

    /**
     * 用户id
     */
    @NotNull(message = "指标类型id不能为空，请检查indexId参数", groups = {add.class, edit.class})
    private Long indexId;


}
